package com.itcast.springboot.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 郭泽鹏
 * @Date 2020/8/25 17:07
 * @Version 1.0
 * @Description 搜索返回数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="searchRes对象", description="搜索返回数据")
public class SearchRes {

    @ApiModelProperty(value = "废品id")
    private Integer wasteId;

    @ApiModelProperty(value = "分类名称")
    private String classificationName;

    @ApiModelProperty(value = "废品名")
    private String wasteName;

    @ApiModelProperty(value = "废品单价")
    private Float wasteUnitPrice;

    @ApiModelProperty(value = "废品图片路径")
    private String wasteUrl;
}
